package com.yuyuto.conn.model.response;

import java.util.List;

/**
 * Created by Demon on 2016/11/24.
 */

public class RespCounponList {

    /**
     * totalPage : 2
     * couponList : [{"couponId":"671c2aac-7c9b-4807-9e9e-2a29375eb7f8","title":"200元","subtitle":"悠游堂冰雪主题乐园经典项目门票（七合一）","status":"1","expireDate":"2016.08.15至2016.12.31","giftFlag":0,"url":"http://192.168.1.20:10240/aifaquan/html/coupondetails.html?BussinessGuid=287EABD7-E357-43DA-A29D-7F9E9277D6CA&RecordGuid=5D08F1B8-8843-4F41-91C0-55831A5C9866&captcha=25834073"},{"couponId":"5fc736de-20a7-4984-8b7d-96679dd3d0be","title":"120元","subtitle":"悠游堂超级家庭娱乐中心巴啦啦或poli主题通票","status":"2","expireDate":"2016.05.30至2016.06.17","giftFlag":0,"url":"http://192.168.1.20:10240/aifaquan/html/coupondetails.html?BussinessGuid=287EABD7-E357-43DA-A29D-7F9E9277D6CA&RecordGuid=E304BC11-3774-4C1C-8E59-1A2BB68C4F21&captcha=08093895"}]
     */

    private int totalPage;
    private List<CouponBean> couponList;

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<CouponBean> getCouponList() {
        return couponList;
    }

    public void setCouponList(List<CouponBean> couponList) {
        this.couponList = couponList;
    }

    public static class CouponBean {

        public static final int STATUS_CAN_USE = 1;
        public static final int STATUS_USED = 2;
        public static final int STATUS_EXPRIED = 3;

        public static final int FLAG_SELF = 0;
        public static final int FLAG_PRESENT = 1;

        /**
         * couponId : 671c2aac-7c9b-4807-9e9e-2a29375eb7f8
         * title : 200元
         * subtitle : 悠游堂冰雪主题乐园经典项目门票（七合一）
         * status : 1
         * expireDate : 2016.08.15至2016.12.31
         * giftFlag : 0
         * url : http://192.168.1.20:10240/aifaquan/html/coupondetails.html?BussinessGuid=287EABD7-E357-43DA-A29D-7F9E9277D6CA&RecordGuid=5D08F1B8-8843-4F41-91C0-55831A5C9866&captcha=25834073
         */

        private String couponId;
        private String title;
        private String subtitle;
        private int status;
        private String expireDate;
        private int giftFlag;
        private String url;

        public String getCouponId() {
            return couponId;
        }

        public void setCouponId(String couponId) {
            this.couponId = couponId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getSubtitle() {
            return subtitle;
        }

        public void setSubtitle(String subtitle) {
            this.subtitle = subtitle;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getExpireDate() {
            return expireDate;
        }

        public void setExpireDate(String expireDate) {
            this.expireDate = expireDate;
        }

        public int getGiftFlag() {
            return giftFlag;
        }

        public void setGiftFlag(int giftFlag) {
            this.giftFlag = giftFlag;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
